<!DOCTYPE html>
<html lang="en" data="">
	<head>
		<meta name="keywords" content="营圈网">
		<meta name="description" content="营圈网，一起来赢！">
		<title>
				<#if (ware.name)??>${(ware.name)!""}</#if>
				<#if (ware.classId)??>${(ware.className)!""}</#if>
				<#if (ware.typeId)??>|${(ware.typeName)!""}</#if>
				<#if (ware.categoryId)??>|${(ware.categoryName)!""}</#if>。营圈网，一起来赢！</title>
		<#include "/common/head.html">
	</head>

	<body>
		<!--头部-->
		<#include "/common/top-nav.html">
		<#import "/common/header.html" as header>
		<@header.header page="wares"/>
		<div class="home-section">
			<!--当前位置-->
			<div class="paper-current-main w">
				当前位置：
				<span><a href="/index.html">首页</a></span>
				<#if (ware.categoryId)??>&ensp;>&ensp;<span><a href="/ware/list/${(ware.categoryId)!0}.html">${(ware.categoryName)!""}</a></span></#if>
				<#if (ware.typeId)??>&ensp;>&ensp;<span><a href="/ware/list/${(ware.categoryId)!0}/${(ware.typeId)!0}.html">${(ware.typeName)!""}</a></span></#if>
				<#if (ware.classId)??>&ensp;>&ensp;<span><a href="/ware/list/${(ware.categoryId)!0}/${(ware.typeId)!0}/${(ware.classId)!0}.html">${(ware.className)!""}</a></span></#if>
				<#if (ware.name)??>&ensp;>&ensp;<span>${(ware.name)!""} 的搜索结果</span></#if>
			</div>
			<div class="product-location"></div>
			<!--内容-->
			<div class="productDeta-main w clearfix">

				<div class="productDetaLeft fl">
					<dl class="proTop10">
						<dt><i></i>推荐商品</dt>
						<#if recommends?? && recommends?size gt 0>
						<#list recommends as item>
						<#if item_index lt 3>
						<dd class="top10Item">
							<a href="/ware/${(item.id)!0}.html">
								<div class="img-parent fl">
									<img src="${(item.imageMain)!""}">
									<span>${item_index + 1}</span>
								</div>
								<div class="top10Item-fr fl product-top10">
									<p>${(item.name)!""}</p>
									<span><#if item.pricePromotional??>&yen;${(item.pricePromotional)?string('0.00')}<#else>--</#if></span>
								</div>
							</a>
						</dd>
						<#else>
						<dd class="clearfix top10Item2">
							<span class="fl">${item_index + 1}</span>
							<a href="detail.html" class="fl">${(item.name)!""}</a>
						</dd>
						</#if>
						</#list>
						<#else>
						<dd class="clearfix top10Item2" style="text-align:center;">本类暂无推荐商品</dd>
						</#if>
					</dl>
				</div>
				<!--内容左-->
				<div class="productDetaRight fr">
					<!-- 广告 -->
					<!--
					<div class="productDetagg">
						<a href=""></a><img src="/Uploads/ad/2017/06-28/595358e9d0ff3.jpg" alt="" width="970" height="110"></a>
					</div>
					-->
					<#assign urlSub ="">
					<#if ware.categoryId??><#assign urlSub +="/"+ware.categoryId></#if><#if ware.typeId??><#assign urlSub +="/"+ware.typeId></#if><#if ware.classId??><#assign urlSub +="/"+ware.classId></#if>
						
					<div class="chooseCondition">
						<#if (ware.categoryId)??>
						<dl class="clearfix class-type">
							<dt class="fl">类型</dt>
							<dd class="fl">
								<a href="/ware/list/${(ware.categoryId)!0}.html" class="<#if ware.typeId gt 0><#else>active</#if> all_cate">全部</a>
								<#if cats?? && cats[(ware.categoryId)?string]??>
								<#list cats[(ware.categoryId)?string] as item>
								<a href="/ware/list/${(ware.categoryId)!0}/${item.id}.html" class="data_curent <#if ware.typeId=item.id>active</#if>" >${item.name}</a>
								</#list>
								</#if>
							</dd>
						</dl>
						</#if>
						<#if (ware.typeId)??>
						<dl class="clearfix class-type">
							<dt class="fl">子类</dt>
							<dd class="fl">
								<a href="/ware/list/${(ware.categoryId)!0}/${(ware.typeId)!0}.html" class="<#if ware.classId gt 0><#else>active</#if> all_cate">全部</a>
								<#if cats?? && cats[(ware.typeId)?string]??>
								<#list cats[(ware.typeId)?string] as item>
								<a href="/ware/list/${(ware.categoryId)!0}/${(ware.typeId)!0}/${item.id}.html" class="data_curent <#if ware.classId=item.id>active</#if>" >${item.name}</a>
								</#list>
								</#if>
							</dd>
						</dl>
						</#if>
					</div>
					<div class="sortCondition clearfix">
						<div class="fl" id="sortCondition">
							<span>排序：</span>
							<a href="/ware/list${urlSub}.html?name=${(ware.name)!""}&sortField=sales&sortMethod=<#if ware.sortField?? && ware.sortMethod == "desc">asc<#else>desc</#if>" <#if !(ware.sortMethod??) || ware.sortField == "sales">class="active"</#if>>销量</a>
							<a href="/ware/list${urlSub}.html?name=${(ware.name)!""}&sortField=price&sortMethod=<#if ware.sortField?? && ware.sortMethod == "desc">asc<#else>desc</#if>" <#if ware.sortMethod?? && ware.sortField == "price">class="active"</#if>>价格</a>
							<a href="/ware/list${urlSub}.html?name=${(ware.name)!""}&sortField=time&sortMethod=<#if ware.sortField?? && ware.sortMethod == "desc">asc<#else>desc</#if>" <#if ware.sortMethod?? && ware.sortField == "time">class="active"</#if>>上架时间</a>
						</div>
					</div>
					<!--商品展示-->
					<ul class="productList1 clearfix productlist-error-xs">
						<#if wares?? && wares?size gt 0>
						<#list wares as item>
						<li class="fl">
							<div class="proPic-img">
								<a href="/ware/${(item.id)!0}.html">
									<img src="${(item.imageMain)!""}" width="190" height="190" style="margin-top:10px">
								</a>
							</div>
							<div class="itemDescBack">
								<p class="proDesc">
									<a href="/ware/${(item.id)!0}.html">${(item.name)!""}</a>
								</p>
								<span class="proPrice"><#if item.pricePromotional??>&yen;${(item.pricePromotional)?string('0.00')}<#else>--</#if></span>&ensp;
								<span class="proPrice">库存：<#if item.numberInventory?? && item.numberInventory lt 0>充足<#else>${(item.numberInventory)!0}</#if></span>
								<p class="addCart1">
									<a href="javascript:void(0);" wareId=${(item.id)!0} wareImg="${(item.imageMain)!""}" wareName="${(item.name)!""}" warePrice="<#if item.pricePromotional??>&yen;${(item.pricePromotional)?string('0.00')}<#else>--</#if>">加入购物车</a>
								</p>
							</div>
						</li>
						</#list>
						<#else>
						<div class="product-list-not-error">
                           <h1>暂无商品数据！</h1>
                        </div>
						</#if>
					</ul>

					<!--换页-->
					<#if count??>
						<#import "/common/pager.html" as page>
						<@page.pager start=start size=size count=count url="/ware/list${urlSub}.html?name=${(ware.name)!\"\"}&sortField=${(ware.sortField)!\"\"}&sortMethod=${(ware.sortMethod)!\"desc\"}" gotoPage=true />
					</#if>
				</div>
			</div>
		</div>

		<!--尾部-->
		<#include "/common/footer.html">
		<script type="text/javascript" src="http://static.yqw.com/js/biz/cartAdd.js"></script>
	</body>

</html>